From a83178c29f50bb4b1772dcb7d633c9bad1030f9f Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Sun, 2 Dec 2018 23:58:26 -0600 Subject: [PATCH] Const-ipate jeeps function signature. (Yeah, coz THAT makes that API beautiful...) --- jeeps/gpsapp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jeeps/gpsapp.cc b/jeeps/gpsapp.cc index 7ef1733dc..e1152eab1 100644 --- a/jeeps/gpsapp.cc +++ b/jeeps/gpsapp.cc @@ -88,7 +88,7 @@ static void GPS_D155_Send(UC* data, GPS_PWay way, int32* len); static void GPS_D120_Get(int cat_num, char*s); -static void GPS_D200_Get(GPS_PWay* way, UC* s); +static void GPS_D200_Get(GPS_PWay* way, const UC* s); static void GPS_D201_Get(GPS_PWay* way, UC* s); static void GPS_D202_Get(GPS_PWay* way, UC* s); static void GPS_D210_Get(GPS_PWay* way, UC* s); @@ -3444,7 +3444,7 @@ int32 GPS_A201_Send(const char* port, GPS_PWay* way, int32 n) ** ** @return [void] ************************************************************************/ -static void GPS_D200_Get(GPS_PWay* way, UC* s) +static void GPS_D200_Get(GPS_PWay* way, const UC* s) { (*way)->rte_prot = 200; (*way)->rte_num = *s; -- 2.30.2